import request from '@/utils/request'
/*
  获取获客链接列表
*/
export function getLinkList(data: any) {
  return request({
    url: '/api/corp/wechat/link/list',
    method: 'post',
    data,
  })
}
/*
  创建获客链接
*/
export function doLinkCreate(data: any) {
  return request({
    url: '/api/corp/wechat/link/create',
    method: 'post',
    data,
  })
}
/*
  删除获客链接
*/
export function linkDelete(data: any) {
  return request({
    url: '/api/corp/wechat/link/delete',
    method: 'post',
    data,
  })
}
/*
  获取获客链接可用额度
*/
export function getWelcomeShow(data: any) {
  return request({
    url: '/api/corp/wechat/link/quota',
    method: 'post',
    data,
  })
}
